package com.xhorse.lockplatform.dao.mapper;

import com.xhorse.lockplatform.comm.persist.BaseMapper;
import com.xhorse.lockplatform.model.XhData;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface XhDataMapper extends BaseMapper<XhData> {

    List<XhData> selectDir(@Param("dbversion") String dbversion, @Param("regionId") int regionId);

    void updateMD5Selective(XhData xhData);

    XhData selectDataInfo(XhData xhData);

    int findMaxVersion(@Param("dbversion") String dbversion, @Param("regionId") int regionId);

}